package com.le.edu.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.le.edu.domain.entity.Teacher;
import com.le.edu.domain.vo.TeacherVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 17447
 * @description 针对表【t_teacher(讲师)】的数据库操作Mapper
 * @createDate 2024-01-07 20:07:46
 * @Entity com.le.edu.entity.Teacher
 */
public interface TeacherMapper extends BaseMapper<Teacher> {

    Page<TeacherVO> selectTeacherList(Page<TeacherVO> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<Teacher> wrapper);

    List<Teacher> selectTeacherListNameAndId(@Param(Constants.WRAPPER) LambdaQueryWrapper<Teacher> wrapper);
}




